export default class Oasis {
    public static getSignStr(params: any): string {
        //1.排序
        let dt: string[] = [];
        Object.keys(params).forEach((k) => {
            dt.push(`${k}=${params[k] + ''}`);
        });
        dt.sort((a, b) => {
            return a < b ? -1 : a > b ? 1 : 0
        });
        return `${dt.join("&")}`
    }
}
